const pageHeightSet = {
    state: {
        pageHeight: window.innerHeight,
    },
    mutations: {
        UPDATE_PAGEHEIGHT: (state, height) => {
            state.pageHeight = height;
        },
    },
    actions: {
        updatePageHeight({ commit }, height) {
            commit('UPDATE_PAGEHEIGHT', height)
        },
    },
    getters: {
        pageHeight: state => state.pageHeight,
    }
}
export default pageHeightSet